﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterPages/Site.Master"
    CodeBehind="Novedad.aspx.cs" Inherits="Presentation.Novedad" %>

<asp:Content runat="server" ContentPlaceHolderID="MainContentPlaceHolder">
    <div class="container">
        <div class="left" style="width: 45%; padding: 0;">
            <asp:Panel runat="server" ID="ImagenNovedadPanel">
            </asp:Panel>
        </div>
        <div class="right" style="width: 55%; padding: 0;">
            <div class="titulo">
                NOVEDADES
            </div>
            <br />
            <%--<div style="height:300px; padding:5px; overflow-y:scroll">--%>
            <div id='scroll' style="height: 290px; padding: 5px;" class='flexcroll'>
                <asp:Panel runat="server">
                    <asp:Repeater ID="RepeaterNovedades" runat="server">
                        <ItemTemplate>
                            <div class="mes" style="display: inline;">
                                <img src="Images/Novedad/arrow.png" /> 
                                <asp:Label ID="Label1" runat="server" Text="  "></asp:Label> <asp:Label ID="Mes" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "mes") %>'></asp:Label>
                            </div>
                            <div class="ano" style="display: inline;">
                                <asp:Label ID="Ano" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "ano") %>'></asp:Label>
                            </div>
                            <div style="font-size: 0; height: 5px;">
                            </div>
                            <div>
                                <asp:Label ID="Desc" CssClass="justified" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "descripcion") %>'></asp:Label>
                                <div style="float: right;">
                                    <a href="#" onclick="window.open('Novedad_Detalle.aspx?idNovedad=<%# DataBinder.Eval(Container.DataItem, "id") %>', '', config='height=600,width=1000, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, directories=no, status=no')">
                                        + info</a>
                                </div>
                            </div>
                        </ItemTemplate>
                        <SeparatorTemplate>
                            <br />
                            <br />
                        </SeparatorTemplate>
                    </asp:Repeater>
                </asp:Panel>
            </div>
        </div>
    </div>
</asp:Content>
